package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 小区/楼宇信息对象 property_building
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public class PropertyBuilding extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 楼盘ID */
    private Long buildingId;

    /** 所属物业 */
    @Excel(name = "所属物业")
    private Long companyId;

    /** 楼盘名称 */
    @Excel(name = "楼盘名称")
    private String buildingName;

    /** 栋数 */
    @Excel(name = "栋数")
    private Long totalBuildings;

    /** 总户数 */
    @Excel(name = "总户数")
    private Long totalHouses;

    /** 建成年代 */
    @Excel(name = "建成年代")
    private String completionYear;

    /** 容积率 */
    @Excel(name = "容积率")
    private BigDecimal plotRatio;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    public void setBuildingId(Long buildingId) 
    {
        this.buildingId = buildingId;
    }

    public Long getBuildingId() 
    {
        return buildingId;
    }

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }

    public void setBuildingName(String buildingName) 
    {
        this.buildingName = buildingName;
    }

    public String getBuildingName() 
    {
        return buildingName;
    }

    public void setTotalBuildings(Long totalBuildings) 
    {
        this.totalBuildings = totalBuildings;
    }

    public Long getTotalBuildings() 
    {
        return totalBuildings;
    }

    public void setTotalHouses(Long totalHouses) 
    {
        this.totalHouses = totalHouses;
    }

    public Long getTotalHouses() 
    {
        return totalHouses;
    }

    public void setCompletionYear(String completionYear) 
    {
        this.completionYear = completionYear;
    }

    public String getCompletionYear() 
    {
        return completionYear;
    }

    public void setPlotRatio(BigDecimal plotRatio) 
    {
        this.plotRatio = plotRatio;
    }

    public BigDecimal getPlotRatio() 
    {
        return plotRatio;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("buildingId", getBuildingId())
            .append("companyId", getCompanyId())
            .append("buildingName", getBuildingName())
            .append("totalBuildings", getTotalBuildings())
            .append("totalHouses", getTotalHouses())
            .append("completionYear", getCompletionYear())
            .append("plotRatio", getPlotRatio())
            .append("address", getAddress())
            .toString();
    }
}
